﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/manage.master" AutoEventWireup="true"
	CodeFile="partyinforList.aspx.cs" Inherits="partyinforList" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="main" runat="Server">
	<table cellpadding="0" cellspacing="0" width="900" style="">
		<tr>
			<td>
                <asp:DropDownList ID="ddlParty" runat="server" AutoPostBack="true" 
                    onselectedindexchanged="ddlParty_SelectedIndexChanged">
                </asp:DropDownList>

				<asp:DataList ID="dl" runat="server" CellPadding="0" CellSpacing="0" Width="100%"
					OnItemCommand="dl_ItemCommand">
					<HeaderTemplate>
						<div class="titleColor" style="width: 100%; vertical-align: middle; padding-top: 8px;
							height: 24px;">
							<div align="center" class="titleCenter" style="float: left; width: 40%;">
								<span class="vtitle">名称</span></div>
							<div class="titleCenter" style="float: left; width: 40%;">
								<span class="vtitle">分类</span></div>
							<div align="center" class="titleCenter" style="float: left; width: 20%;">
								<span class="vtitle">功能</span></div>
						</div>
					</HeaderTemplate>
					<ItemTemplate>
						<div style="width: 100%; vertical-align: middle; padding-top: 8px; height: 24px;">
							<div align="center" style="float: left; width: 40%;">
								<span class="vtitle">
									<%#Eval("name") %></span></div>
							<div style="float: left; width: 40%;">
								<span class="vtitle">
									<%#Eval("type") %></span></div>
							<div style="float: left; text-align: center; width: 20%;">
								<asp:LinkButton ID="btnEdit" runat="server" CommandArgument='<%#Eval("id") %>' CommandName="edit"
									Text="[ 编辑 ]"></asp:LinkButton>
								<asp:LinkButton ID="LinkButton1" runat="server" CommandArgument='<%#Eval("id") %>'
									OnClientClick="return confirm('确定要删除吗？');" CommandName="delete" Text="[ 删除 ]"></asp:LinkButton>
							</div>
						</div>
					</ItemTemplate>
				</asp:DataList>
				<webdiyer:AspNetPager ID="webPager" runat="server" PageSize="10" OnPageChanging="webPager_PageChanging">
				</webdiyer:AspNetPager>
			</td>
		</tr>
	</table>
</asp:Content>
